package me.gm.stcont.repository;

import java.util.List;

import me.gm.stcont.model.Authority;

import org.springframework.data.domain.Sort;
import org.springframework.data.repository.Repository;

public interface AuthorityRepository extends Repository<Authority, Integer> {

	Authority findByName(String name);

	List<Authority> findAll(Sort sort);

}
